﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;

namespace U82
{
    [PetaPoco.TableName("SA_CusPriceJustDetailView_temp")]
    public class SA_CusPriceS_tempModel
    {
        public Int32 autoid { get; set; }
        public Int64 id { get; set; }
        public string operationtype { get; set; }
        public Int64 ipriceid { get; set; }
        public string ccuscode { get; set; }
        public string ccusccode { get; set; }
        public string cinvcode { get; set; }
        public string cfree1 { get; set; }
        public string cfree2 { get; set; }
        public string cfree3 { get; set; }
        public string cfree4 { get; set; }
        public string cfree5 { get; set; }
        public string cfree6 { get; set; }
        public string cfree7 { get; set; }
        public string cfree8 { get; set; }
        public string cfree9 { get; set; }
        public string cfree10 { get; set; }
        public Boolean bsalepricefree1 { get; set; }
        public Boolean bsalepricefree2 { get; set; }
        public Boolean bsalepricefree3 { get; set; }
        public Boolean bsalepricefree4 { get; set; }
        public Boolean bsalepricefree5 { get; set; }
        public Boolean bsalepricefree6 { get; set; }
        public Boolean bsalepricefree7 { get; set; }
        public Boolean bsalepricefree8 { get; set; }
        public Boolean bsalepricefree9 { get; set; }
        public Boolean bsalepricefree10 { get; set; }
        public Boolean bfree1 { get; set; }
        public Boolean bfree2 { get; set; }
        public Boolean bfree3 { get; set; }
        public Boolean bfree4 { get; set; }
        public Boolean bfree5 { get; set; }
        public Boolean bfree6 { get; set; }
        public Boolean bfree7 { get; set; }
        public Boolean bfree8 { get; set; }
        public Boolean bfree9 { get; set; }
        public Boolean bfree10 { get; set; }
        public Int32 irowno { get; set; }
        public string cbsysbarcode { get; set; }
        public Decimal icusdisrate { get; set; }
        public Decimal iinvnowcost { get; set; }
        public string cbodymemo { get; set; }
        public DateTime dstartdate { get; set; }
        public DateTime? denddate { get; set; } = null;
        public string cdesc { get; set; }
        public string ccusname { get; set; }
        public string ccusabbname { get; set; }
        public Decimal iinvsalecost { get; set; }
        public Decimal iinvscost { get; set; }
        public string icusid { get; set; }
        public string cinvname { get; set; }
        public Double iinvsprice { get; set; }
        public Double iinvncost { get; set; }
        public Double iinvrcost { get; set; }
        public Int32 iinvid { get; set; }
        public string cinvaddcode { get; set; }
        public string cinvstd { get; set; }
        public string ccomunitcode { get; set; }
        public string ccomunitname { get; set; }
        public string cccname { get; set; }
        public string cinvcname { get; set; }
        public string cexch_name { get; set; }
        public string cinvccode { get; set; }
        public string cdefine22 { get; set; }
        public string cdefine23 { get; set; }
        public string cdefine24 { get; set; }
        public string cdefine25 { get; set; }
        public Double cdefine26 { get; set; }
        public Double cdefine27 { get; set; }
        public string cdefine28 { get; set; }
        public string cdefine29 { get; set; }
        public string cdefine30 { get; set; }
        public string cdefine31 { get; set; }
        public string cdefine32 { get; set; }
        public string cdefine33 { get; set; }
        public Int32 cdefine34 { get; set; }
        public Int32 cdefine35 { get; set; }
        public DateTime? cdefine36 { get; set; } = null;
        public DateTime? cdefine37 { get; set; } = null;
        public string cinvdefine1 { get; set; }
        public string cinvdefine2 { get; set; }
        public string cinvdefine3 { get; set; }
        public string cinvdefine4 { get; set; }
        public string cinvdefine5 { get; set; }
        public string cinvdefine6 { get; set; }
        public string cinvdefine7 { get; set; }
        public string cinvdefine8 { get; set; }
        public string cinvdefine9 { get; set; }
        public string cinvdefine10 { get; set; }
        public Int32 cinvdefine11 { get; set; }
        public Int32 cinvdefine12 { get; set; }
        public Double cinvdefine13 { get; set; }
        public Double cinvdefine14 { get; set; }
        public DateTime? cinvdefine15 { get; set; } = null;
        public DateTime? cinvdefine16 { get; set; } = null;
        public Boolean bsales { get; set; }
        public Decimal fminquantity { get; set; }
        public Decimal fcusminprice { get; set; }
        public string ccccode { get; set; }
        public string ccusinvcode { get; set; }
        public string ccusinvname { get; set; }
        public Int32 blimitcus { get; set; }
        public Int32 blimited { get; set; }
        public string ccusproperty1 { get; set; }




    }
} 
